Release 10.1A: OpenEdge Development:
Progress Dynamics Managers API Reference


copyObjectMaster

This procedure creates a deep copy of an object. This procedure can be used for "Save as . . ." functionality.

Location: ry\app\rydesmngrp.i

Parameters:

INPUT pcSourceObjectName AS CHARACTER

The original object’s name.

INPUT pcSourceResultCode AS CHARACTER

The original object’s result code, if any.

INPUT pcTargetObjectName AS CHARACTER

The new object’s name.

INPUT pcTargetClass AS CHARACTER

The new object’s class.

INPUT pcTargetProductModule AS CHARACTER

The product module in which to save the new object.

INPUT pcTargetRelativePath AS CHARACTER

The relative path for the new object’s product module.

OUTPUT pdSmartObjectObj AS DECIMAL

The smartobject_obj value for the new object.

Notes: If a non-default result code is specified, then the procedure ensures that a record exists for the DEFAULT-RESULT-CODE and the specified result code. This ensures that the newly created object is a complete object on its own.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095